Hi Jethro,
> I am interested in being able to cite in different ways. By analogy, I
> refer to the \texcite{}, \parencite{} and other options available with
> biblatex in LaTeX. How do I achieve something like \textcite{} in
> ConTeXt?
Page 34 of the publications manual lists the va
Am 09.12.22 um 04:42 schrieb Jethro Djan via ntg-context:
Hello everyone
I am interested in being able to cite in different ways. By analogy, I
refer to the \texcite{}, \parencite{} and other options available with
biblatex in LaTeX. How do I achieve something like \textcite{} in
ConTeXt
Hello everyone
I am interested in being able to cite in different ways. By analogy, I
refer to the \texcite{}, \parencite{} and other options available with
biblatex in LaTeX. How do I achieve something like \textcite{} in ConTeXt?
Here is my MWE:
\startbuffer[ref]
@Article{wn:2017,
author
shorthand
> >\begingroup
> >\def\currentbtxcategory{\btxfield{category}}
> >\texdefinition{btx:sbl:inline:shorthand}
> >\endgroup
> >\removeunwantedspaces
> >\removepunctuation
> > \stopsetups
> >
> > ...
> >
> &g
up
\def\currentbtxcategory{\btxfield{category}}
\texdefinition{btx:sbl:inline:shorthand}
\endgroup
\removeunwantedspaces
\removepunctuation
\stopsetups
...
\expanded{\abbreviation[\currentbtxtag]{\textcite[alternative=shorthand,lefttext=,righttext=][\currentbtxtag]}{\textcite[alternative=l
definition{btx:sbl:inline:shorthand}
\endgroup
\removeunwantedspaces
\removepunctuation
\stopsetups
...
\expanded{\abbreviation[\currentbtxtag]{\textcite[alternative=shorthand,lefttext=,righttext=][\currentbtxtag]}{\textcite[alternative=listsubcite,lefttext=,righttext=][\currentbtxtag]}}
```
Again, this works
}{\btxflush{shorthand}}{\btxstartstyleandcolor[sbl:\s!list:title:\currentbtxcategory]\btxusecommand[sbl:\s!list:title:\currentbtxcategory]{\btxflush{shorthand}}\btxstopstyleandcolor}}}{\textcite[alternative=listsubcite,lefttext=,righttext=][\currentbtxtag]}}
```
But obviously, this is much less readable
]{\texdefinition{btx:sbl:inline:shorthand}}{\textcite[alternative=listsubcite,lefttext=,righttext=][\currentbtxtag]}}
}
```
Thankfully, everything else gets rendered as expected. But why is the
\texdefinition not expanding? If it helps, I've included it below:
```
\starttexdefinition btx:sbl:inline:shorthand
handle these subcitations with the \textcite
command, so that "higher-level" entries are not added to the list when
they are only subcited.
An important guideline that I still have to implement works in the
opposite direction: it says that entries in certain categories should
not be a
subcitations with different alternatives. In general, I handle these
subcitations with the \textcite command, so that "higher-level" entries are not
added to the list when they are only subcited.
An important guideline that I still have to implement works in the opposite
direction: it says th
this by allowing entries to
have cross-references to other entries. The rendering process can then be
handled through recursive subcitations with different alternatives. In
general, I handle these subcitations with the \textcite command, so that
"higher-level" entries are not added to the
Hello,
\textcite [authoryear] [whatever-1] etc. gives weird (see attached):
text citation: (, 2015)
with:
ConTeXt ver: 2015.07.28 19:12 MKIV beta fmt: 2015.7.30 int:
english/english
I would expect something like:
text citation: (Mo, 2015)
Best regards,
Lukas
On Wed, 29
% \listcite : mark for list, show in text only when in list
% \textcite : not to list, show in text
% \alwayscite : mark for list, show in text
%
% \cite == \listcite
% \nocite == \hiddencite
% \subsubject{only shown when in list (okay)} % todo: (no list)
% list citation: \listcite [authoryear
\bibalternative\c!vonsep}%
\sc{#3}\bibalternative\c!surnamesep\tf
\bibdoif{#5}{#5\bibalternative\c!juniorsep}%
\bibdoif{#4}{#4\unskip}}
\protect
\def\textcite#1{\sc\cite[authoryear][#1]\tf}
\def\ccite#1{\cite[authoryears][#1]}
\setuppublicationlist[artauthor=\scAuthorname, author=\scAuthorname
14 matches
Mail list logo